//
//  HomeViewController.h
//  yunqiphone
//
//  Created by IreWesT on 15/5/18.
//  Copyright (c) 2015年 ci123.com. All rights reserved.
//

#import "AllBaseViewController.h"
#import "SGFocusImageFrame.h"
#import "SGFocusImageItem.h"

@interface HomeViewController : AllBaseViewController<UIScrollViewDelegate,SGFocusImageFrameDelegate>
//nav
@property (nonatomic, retain) UIButton *msg;
@property (nonatomic, retain) UILabel *mCountLabel;
@property (nonatomic, assign) NSInteger msgShowType;
@property (nonatomic, retain) UIView *signView;
@property (nonatomic, retain) UIImageView *signImage;
@property (nonatomic, retain) UILabel *signLabel;
@property (nonatomic, retain) UILabel *signRedDot;
@property (nonatomic, retain) UIView *sharkView;
@property (nonatomic, assign) NSInteger shakeShowNum;
@property (nonatomic, retain) UIView *leftView;
@property (nonatomic, retain) UIButton *searchBtn;
@property (nonatomic, retain) UIView *shelter;

@property (nonatomic,retain) UIScrollView *scrollContentView;

//头部
@property (nonatomic, retain) UIView *headView;
@property (nonatomic, retain) UIView *headView1;
@property (nonatomic, retain) UIView *headView2;
@property (nonatomic, retain) UIImageView *headBackView;
@property (nonatomic, retain) UIImageView *headBackImage;

@property (nonatomic, retain) UIView *yimaBoxView;
@property (nonatomic, retain) UIImageView *yimaHeadView;
@property (nonatomic, retain) UIImageView *yimaProgressImage;
@property (nonatomic, retain) UILabel *yimaCur;
@property (nonatomic, retain) UILabel *yimaState;
@property (nonatomic, retain) UILabel *yimaLeftTitle;
@property (nonatomic, retain) UILabel *yimaLeft;
@property (nonatomic, retain) UILabel *yimaCenter;
@property (nonatomic, retain) UILabel *yimaRightTitle;
@property (nonatomic, retain) UILabel *yimaRight;

@property (nonatomic, assign) CGFloat headViewHeight;
@property (nonatomic, assign) CGFloat headViewWidth;
@property (nonatomic, assign) CGFloat totalHeadOffsetY;
@property (nonatomic, retain) UIImageView *head;
@property (nonatomic, retain) UIView *headWrap;
@property (nonatomic, retain) UILabel *stateTitle;
@property (nonatomic, retain) UILabel *stateLeftTitle;
@property (nonatomic, retain) UILabel *stateLeft;
@property (nonatomic, retain) UILabel *stateRightTitle;
@property (nonatomic, retain) UILabel *stateRight;
@property (nonatomic, retain) CALayer *headBorderBottom;
@property (nonatomic, assign) NSInteger stateViewEntryType;//0:yunqi 1:newborn
@property (nonatomic, assign) NSInteger signShowType;
@property (nonatomic, assign) NSInteger sharkStart;
@property (nonatomic, retain) NSMutableArray *yimaRecordedData;
@property (nonatomic, retain) NSMutableArray *yimaStartStampData;
@property (nonatomic, assign) NSInteger mensShowType;//0:no show mens 1:show mens

//孕期
@property (nonatomic, retain) UIImageView *pregHead;
@property (nonatomic, retain) UIView *pregHeadWrap;
@property (nonatomic, retain) UILabel *pregStateTitle;
@property (nonatomic, retain) UILabel *pregStateLeft;
@property (nonatomic, retain) UILabel *pregStateRight;
@property (nonatomic, retain) UILabel *pregBorder;
@property (nonatomic, retain) UILabel *pregMoreInfo;
@property (nonatomic, retain) UIImageView *pregMoreImage;

//新年
@property (nonatomic, retain) UIImageView *fireImage1;
@property (nonatomic, retain) UIImageView *fireImage2;
@property (nonatomic, retain) UIImageView *fireImage3;
@property (nonatomic, retain) UIImageView *fireImage4;
@property (nonatomic, retain) UIImageView *openFire;
@property (nonatomic, retain) UIImageView *yearBorder;

@property (nonatomic,retain) UIView *cateView;
@property (nonatomic,retain) NSMutableArray  *topTitles;

@property (nonatomic,retain) UIView *adsView;
@end
